/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.palette.swing;

/**
 *
 * @author Mr.Sam
 */
import javax.swing.*;
import fr.ove.palette.*;
import fr.ove.palette.swing.*;

/**
* The palette containing the basic function : square root, nth-root, abs, conjugate, log, ln, exp.
*
* @author © 1999 DIRAT Laurent
* @version 1.0  19/09/1999
*/
public class NonBasicOperatorsPalette extends Palette {
    /**
    * The constructor.
    */
    public NonBasicOperatorsPalette() {
        super(PaletteLayout.ROW_CONSTRAINT, 4);
        addButtonToPalette(new JPaletteButton(new ImageIcon("fr/ove/palette/images/operator/sqrt.gif")), new PaletteInfo("sqrt()",  (byte) 5));
        addButtonToPalette(new JPaletteButton(new ImageIcon("fr/ove/palette/images/operator/root.gif")), new PaletteInfo("root(;)",  (byte) 5));
        addButtonToPalette(new JPaletteButton(new ImageIcon("fr/ove/palette/images/operator/abs.gif")), new PaletteInfo("abs()",  (byte) 4));
        addButtonToPalette(new JPaletteButton(new ImageIcon("fr/ove/palette/images/operator/conj.gif")), new PaletteInfo("conj()",  (byte) 5));
    }
}